package com.zhaokuner.dubbo.provider.impl;

import com.zhaokuner.dubbo.service.TestService;
import lombok.extern.log4j.Log4j2;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Component;

/**
 * <p>
 * Description:TODO 详细描述
 * <p>
 * Copyright: 2018-现在 北京掌通未来科技有限公司
 * <p>
 *
 * @author 赵希坤 zhaoxikun
 * @date 2020/6/19 19:33
 */
@Component
@Log4j2
@DubboService(interfaceClass = TestService.class)
public class TestServiceImpl implements TestService  {
    @Override
    public Object sayHello(String name) {
        log.info("say hello {}",name);
        return name;
    }



}
